class UrlMappings {

	static mappings = {
		"/$action?/$id?"{ controller = "basePage"
			constraints { // apply constraints here
			} }

		"/" (controller: "basePage", action: "index")
		"500"(view:'/error')
	}
}
